package com.crazy.base.common.utils;

import com.crazy.base.common.core.exception.BaseException;

import java.util.function.Supplier;

public class FunctionUtil {

    public static Supplier<BaseException> baseException(String message){
    	return () -> BaseException.of(message);
    }
}
